FROM anapsix/alpine-java

#解决alpine时间为UTC时区，与中国时区不同问题
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone

WORKDIR /home

COPY target/*-SNAPSHOT.jar /home

ENTRYPOINT java -jar *.jar
